Part Number Hot Search : 
22V10 C3736 74HC5 1008F SMBJ5258 SH056M0 1002A Y275G
Product Description
Full Text Search
 

To Download ADNS-3050 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  description the pixart ADNS-3050 is a small form factor entry-level gaming optical navigation sensor. it is housed in an 8-pin staggered dual in-line package (dip). it is ca- pable of high-speed motion detection typically at 60ips and acceleration up to 20g; suitable for both wired and wireless gaming navigation system. the low power man- agement in wireless mode can be customized to suit user preferences. in addition, it has an on-chip oscillator and led driver to minimize external components. the ADNS-3050 sensor along with the adns-5110-001 lens, ps"%/4trim mfot led clip, and hlmp-eg3e red led forms a complete and compact mouse tracking system. there are no mov ing parts, which translates to high reliability and less maintenance for the end user. precision optical alignment is not required, thus facilitating high volume assembly. theory of operation the ADNS-3050 is based on optical navigation technol- ogy, which measures changes in position by optically acquiring sequential surface images (frames) and math- ematically determining the direction and magnitude of movement. the ADNS-3050 contains an image acquisi- tion system (ias), a digital signal processor (dsp), and a four wire serial port. the ias acquires microscopic surface images via the lens and illumination system. these im- ages are processed by the dsp to determine the direction and distance of motion. the dsp calculates the x and y relative displacement values. an external microcontroller reads and translates the x and y information from the sensor serial port into ps2, usb, or rf signals before send- ing them to the host pc. features ? small form factor package - 8-pin dip ? operating voltage: 2.8v-3.0v ? high speed motion detection at typical of 60ips and acceleration up to 20g. ? selectable resolutions up to 2000cpi ? four wire serial port interface ? external interrupt output for motion detection ? internal oscillator no clock input needed ? on-chip led driver ? minimal number of passive components ? programmable power-saving modes for selectable wired or wireless application ? customizable response time and downshift time for rest modes ? confi gurable led operating modes and drive current applications ? wired and wireless optical gaming mice and trackballs ? integrated input devices ? battery-powered input devices note: the ADNS-3050 sensor is not designed for use with blue led navigation system. all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 1 pixart imaging inc. e-mail: fae_service@pixart.com.tw
2 pinout of ADNS-3050 optical mouse sensor pin name input/output description 1 miso o serial data output (master in/slave out) 2 led i led illumination control input 3 motion o motion interrupt output (active low,) 4 ncs i chip select (active low) 5 sclk i serial clock input 6 gnd i ground 7 vdd i supply voltage 8 mosi i serial data input (master out/slave in) figure 1. package outline drawing (top view) item marking remarks product number a3050 date code xyywwz x = subcon code yyww = date code z = sensor die source lot code vvv numeric 8 7 6 5 4 3 2 1 lot code product number date code pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
3 figure 2. package outline drawing caution: it is advised that normal static precautions be taken in handling and assembling of this component to prevent damage and/or degradation which may be induced by esd. clear optical path pin 1 protective kapton tape 4.55 0.179 3.92 0.154 ? 0.70 0.028 ? 4.12 0.162 9.90 0.390 lead offset 1.00 0.039 lead pitch 2.00 0.079 lead width 0.50 0.020 lot code date code product number pin 1 features for illustration only a a 9.10 0.358 12.85 (at shoulder) 0.506 12.85 0.50 (at lead tip) 0.506 0.020` 3.72 0.146 3.50 0.138 5.15 0.203 90 3q section a-a (2.74) 0.108 (0.04) 0.002 notes: 1. dimensions in millimeter / inches. 2. dimensional tolerance: 0.1mm. 3. coplanarity of leads: 0.1mm. 4. lead pitch tolerance: 0.15mm. 5. non-cumulative pitch tolerance: 0.15mm. 6. angular tolerance: 3q 7. maximum flash: 0.2mm. 8. brackets () indicate reference dimension. 9. document number: led_spc_8c_pkg_002 pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
4 overview of optical mouse sensor assembly pixart provides an iges ?le drawing describing the base plate molding features for lens and pcb alignment the ADNS-3050 sensor is designed for mounting on a through-hole pcb. there is an aperture stop and features on the package that align to the lens. the adns-5110-001 lens boe adns-5120-002 trim lens provides optics for the imaging of the surface as well as illumination of the surface at the optimum angle. features on the lens align it to the sensor, base plate, and clip with the led. the led clip holds the led in relation to the lens. the led must be inserted into the clip and the leds leads formed prior to loading on the pcb. the hlmp-eg3e red led is recommended for illumination. figure 3. recommended pcb mechanical cutouts and spacing notes: 1. dimensions in millimeter/inches 2. view from component side of pcb (or top view of mouse) pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
5 note: a C distance from object surface to lens reference plane b C distance from object surface to sensor reference plane figure 5. distance from lens reference plane to tracking surface (z) important note: pin 1 of sensor should be located nearest to the led figure 4. 2d a ssembly dra wing of ADNS-3050 (top and side view) top view cross section sideview pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
6 pcb assembly considerations 1. insert the sensor and all other electrical components into pcb. 2. insert the led into the assembly clip and bend the leads 90 degrees. 3. insert the led clip assembly into pcb. 4. this sensor package is only qualifi ed for wave-solder process. 5. wave solder the entire assembly in a no-wash solder process utilizing solder fi xture. the solder fi xture is needed to protect the sensor during the solder process. it also sets the correct sensor-to-pcb distance as the lead shoulders do not normally rest on the pcb surface. the fi xture should be designed to expose the sensor leads to solder while shielding the optical aperture from direct solder contact. 6. place the lens onto the base plate. 7. remove the protective kapton tape from optical aperture of the sensor. care must be taken to keep contaminants from entering the aperture. recommend not to place the pcb facing up during the entire mouse assembly process. recommend to hold the pcb fi rst vertically for the kapton removal process. 8. insert pcb assembly over the lens onto the base plate aligning post to retain pcb assembly. the sensor aperture ring should self-align to the lens. figure 7. block diagram of ADNS-3050 optical mouse 9. the optical position reference for the pcb is set by the base plate and lens. note that the pcb motion due to button presses must be minimized to maintain optical alignment. 10. install mouse top case. there must be a feature in the top case to press down onto the pcb assembly to ensure all components are interlocked to the correct vertical height. customer supplied base plate with recommended alignment features per iges drawing adns-5110-001 customer supplied pcb ADNS-3050 (sensor) led clip hlmp-eg3e led important note: ir led is recommended for lower power consumption. figure 6. exploded view of assembly ADNS-3050 power and control led drive image array dsp oscillator vdd led gnd serial port and registers ncs sclk motion miso mosi pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
7 figure 8. schematic diagram for interface between ADNS-3050 and microcontroller with hlmp-eg3e red led on a corded solution note: the ADNS-3050 optical mouse sensor is not designed for use with blue led navigation system. 9'' ' +/03(' & q) & x)9 $'166hqvru%orfn 5 5 5 5 9'' & x)9 & q) 5 n 9'' 5 n 9'' 5 n & q)      + +:)/ppzd\ 9%86 ' ' *1' 6+,(/' *1'  '  '  9%86  9''  3  36&/.  30,62  3026,  31&6  3  3  3  95(*,1  &&.567  3&'  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  8 &) 6&/. 0,62 026, 1&6 027,21 6&/. 0,62 026, 1&6 027,21 5 : * % -7$* 9&& &3, =% =$ &3, /(' /(' /(' 0&8 5 5 5 5 & s) & s)     6: /hiw%xwwrq 5ljkw%xwwrq 0lggoh%xwwrq 6:b/()7 6:b5,*+7 6:b0,'    6: 6  & q)   6:         &21 3&%b62&.(7b;3 &211(&7723&%  3  3  3 =$ =% =(qfrghu &211(&7723&% 9''  *1'  6&/.  026,  ;<b/('  0,62  1&6  027,21  8 $'16           &21 3&%b62&.(7b;3 9'' /(' /(' /(' &3, &3, & q) & s) 9&& & x)9 & x)9 5 5 & s) & s) & s) hlmp-eg3e
8 figure 9. schematic diagram for interface between ADNS-3050 and microcontroller with hlmp-eg3e red led on a wireless solution note: the ADNS-3050 optical mouse sensor is not designed for use with blue led navigation system. % %   bt1 battery 96xsso\%orfn [$$%dwwhu\ 9'' d5 hlmp-ed80 c11 100nf c9 4.7uf/6.3v $6hqvru%orfn r3 100k c2 10nf x2 32.768khz c3 100nf 9''           j1 c4 100nf 37;'  35;'  567  37&.  3706  37',  37'2  767  ;2873  ;,13  $9&&  '9&&  3  3$  3$  3  3  3  3  3  3  3  3  3026,  30,62  36&/.  3  3  3  3  3  3  3  3  3  3  '966  $966  u2 msp430-2274     sw2 /hiw%xwwrq 5ljkw%xwwrq 0lggoh%xwwrq &20  %  $  q1 zb za =(qfrghu sclk_mcu miso_mcu mosi_mcu ncs_mcu mot_mcu sw_left sw_right sw_mid &3, sw_cpi+ c22 22pf l4 3.9nh l3 8.2nh r12 5.6r c25 2.2nf c18 10nf c17 10uf/6.3v c19 1nf c20 33nf r16 1m 1%  e1 r15 22k c21 22pf c26 4.7pf l5 2.7nh c24 1pf c23 1.5pf 9'' '9''  9''  966  ,5()  966  $17  $17  9''b3$  ,54  9''  966  ;&  026,  6&/.  &61  &(  0,62  ;&  9''  966  u7 nrf24l01     x1 16mhz sclk_mcu miso_mcu mosi_mcu rf_en rf_ncs rf_en rf_ncs rf_irq rf_irq notes: 1. 50 ohm trace (highlighted trace) 2swlrqdo notes: 10uf input cap optional za zb *k]5)7udqfhlyhu%orfn 0&8 -7$*&rqqhfwru 9'' 9'' 9'' 21 2)) 9%$7   sw5    sw3    sw4  tp1  tp2  tp3 9%$7 9 9rowdjh0hdvxuhphqw    sw1 sw slide-spdt 9''  *1'  6&/.  026,  ;<b/('  0,62  1&6  027,21  u5 adns 3050 r5 33r c7 4.7uf/6.3v 9%$7  6:  *1'  )%  9287  (1  u1 tps61070 l1 4.7uh c6 4.7uf/6.3v r2 215k r1 1m c1 4.7uf/6.3v c5 4.7uf/6.3v c8 10uf/6.3v r1= r2 x {(vo/vfb) -1} note: 9%$7 *1' r6 1r 9 r1 = 215k x {(vo/500mv) -1}   p1 pad2 notes: pads for current measurement. short by default. 9 9'' 9'' r7 1r r8 1r r9 1r 9'' &xuuhqw0hdvxuhphqw vdd1: mcu s upply vdd2: rf s upply vdd3: sensor s upply pcb notes: pin 9,24,34,25,26,28,11,17,18, 19, need to short track if need to connect to gnd plane. 9%$7 *1' 9 0&8 5) 6(1625 *1' hlmp-eg3e
9 table 1. absolute maximum ratings parameter symbol minimum maximum units notes storage temperature t s -40 85 ?c operating temperature t a -15 55 ?c lead solder temperature t solder 260 ?c for 7 seconds, 1.6mm below seating plane. supply voltage v dd -0.5 3.7 v esd (human body model) 2 kv all pins input voltage v in -0.5 vdd + 0.5 v all i/o pins output current i out 7 ma miso pin table 2. recommended operating condition parameter symbol min typ. max units notes operating temperature t a 04 0 ?c power supply voltage v dd 2.8 3.0 v power supply rise time trt 0.005 100 ms 0 to vdd min supply noise (sinusoidal) v na 100 mvp-p 10khz 50mhz serial port clock frequency f sclk 1 mhz 50% duty cycle distance from lens reference z 2.3 2.4 2.5 mm plane to tracking surface speed s 60 ips acceleration a 20 g in run mode load capacitance c out 100 pf miso design considerations for improved esd performance for improved electrostatic discharge performance, typical creepage and clearance distance are shown in the table below. assumption: base plate construction is as per the pixart supplied iges ?le and adns-5110-001 or adns- 5120-002 trim lens. note that the lens material is polycarbonate or polystyrene hh30. therefore, cyanoacrylate based adhe sives or other adhesives that may damage the lens should not be used. adns-5110-001 lens typical distance (mm) creepage 15.43 clearance 7.77 regulatory requirements ? passes fcc b and worldwide analogous emission limits when assembled into a mouse with shielded cable and following pixart s recommendations. ? passes iec-1000-4-3 radiated susceptibility level when assembled into a mouse with shielded cable and following pixart s recommendations. ? passes en61000-4-4/iec801-4 eft tests when assembled into a mouse with shielded cable and following pixart recommendations. ? provides suffi cient esd creepage/clearance distance to withstand discharge up to 15kv when assembled into a mouse according to usage instructions above. pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
10 table 3. ac electrical specifi cations electrical characteristics over recommended operating conditions. typical values at 25 c, vdd = 2.8 v. parameter symbol min. typ. max. units notes motion delay after reset t mot-rst 50 ms from reset register write to valid motion power down t pd 50 ms from pd active to low current wake from power down t wakeup 50 55 ms from pd inactive to valid motion (when write 0x5a to register 0x3a) miso rise time t r-miso 40 200 ns cl = 100 pf miso fall time t f-miso 40 200 ns cl = 100 pf miso delay after sclk t dly-miso 120 ns from sclk falling edge to miso data valid, no load condition miso hold time t hold-miso 500 1/fsclk ns data held until next falling sclk edge mosi hold time t hold-mosi 200 ns amount of time data is valid after sclk rising edge mosi setup time t setup-mosi 120 ns from data valid to sclk rising edge spi time between write commands t sww 30 s from rising sclk for last bit of the ?rst data byte, commands to rising sclk for last bit of the second data byte spi time between write and read command t swr 20 s from rising sclk f or last bit of the ?rst data byte, to rising sclk for last bit of the second address byte spi time between read and subsequent commands t srw t srr 250 ns from rising sclk for last bit of the ?rst data byte, to falling sclk for the ?rst bit of the next address spi read address-data delay t srad 4 s from rising sclk for last bit of the address byte, to falling sclk for ?rst bit of data being read ncs to sclk active t ncs-sclk 120 ns from ncs falling edge to ?rst sclk falling edge sclk to ncs inactive (for read operation) t sclk-ncs 120 ns from last sclk rising edge to ncs rising edge, for valid miso data transfer sclk to ncs inactive (for write operation) t sclk-ncs 20 s from last sclk rising edge to ncs rising edge, for valid mosi data transfer ncs to miso high-z t ncs-miso 250 ns from ncs rising edge to miso high-z state transient supply current i ddt 60 ma max supply current during a vdd ramp from 0 to vdd pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
11 table 4. dc electrical specifi cations electrical characteristics over recommended operating conditions. typical values at 25 c, vdd led = 2.8 v, irled hlmp- eg3e, r led = 33 ?. parameter symbol min typ. max units notes dc supply current i dd_run_dc i dd_run_wireless i dd_rest1 i dd_rest2 i dd_rest3 26.604 14.236 0.817 0.105 0.022 ma including led current. no load on miso default sensor setting for rest 1, rest 2 and rest 3 modes power down current i pd 10 a input low voltage v il 0.5 v sclk, mosi, ncs input high voltage v ih vdd-0.5 v sclk, mosi, ncs input hysteresis v i_hys 200 mv sclk, mosi, ncs input leakage current i leak 1 10 a vin=vdd-0.6v, sclk, mosi, ncs output low voltage v ol 0.7 v iout=1ma, miso, motion output high voltage v oh vdd-0.7 v iout=-1ma, miso, motion input capacitance cin 50 pf mosi, ncs, sclk synchronous serial port the synchronous serial port is used to set and read pa- rameters in the ADNS-3050, and to read out the motion information. the port is a four wire serial port. the host micro-con troller always initiates communication; the ADNS-3050 never initiates data transfers. sclk, mosi, and ncs may be driven directly by a micro-controller. the port pins may be shared with other spi slave devices. when the ncs pin is high, the inputs are ignored and the output is at tri-state. the lines that comprise the spi port: sclk: clock input. it is always generated by the master (the micro-controller). mosi: input data. (master out/slave in) miso: output data. (master in/slave out) ncs: chip select input (active low). ncs needs to be low to activate the serial port; otherwise, miso will be high z, and mosi & sclk will be ignored. ncs can also be used to reset the serial port in case of an error. chip select operation the serial port is activated after ncs goes low; otherwise, miso will be high-z, while mosi and sclk will be ignored. if ncs is raised during a transaction, the entire transaction is aborted and the serial port will be reset. this is true for all transactions. after a transaction is aborted, the nor- mal address-to-data or transaction-to-transaction delay is still required before beginning the next transaction. to improve communication reliability, all serial transactions should be framed by ncs. ncs can also be used to reset the serial port in case of an error occurs. pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
12 t setup-mosi t hold-mosi sclk mosi write operation write operation, defi ned as data going from the micro-controller to the ADNS-3050, is always initiated by the micro- controller and consists of two bytes. the fi rst byte contains the address (seven bits) and has a 1 as its msb to indicate write sequence. the second byte contains the data. the ADNS-3050 reads mosi on rising edges of sclk. figure 13. mosi setup 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 21 d 0 d 5 d 6 d 7 a 0 a 1 a 2 a 3 a 4 a 5 a 6 1a 6 d 4 d 3 d 2 d 1 sclk ncs mosi mosi driven by micro-controller miso figure 15. miso delay read operation a read operation, defi ned as data going from the ADNS-3050 to the micro-controller, is always initiated by the micro- controller and consists of two bytes. the fi rst byte contains the address, is sent by the micro-controller over mosi, and has a 0 as its msb to indicate data direction. the second byte contains the data and is driven by the ADNS-3050 over miso. the sensor outputs miso bits on falling edges of sclk and samples mosi bits on every rising edge of sclk. note: the 500 ns minimum high state of sclk is also the minimum miso data hold time of the ADNS-3050. since the falling edge of sclk is actually the start of the next read or write command, the ADNS-3050 will hold the state of data on miso until the falling edge of sclk. 1 2 3 4 5 6 7 8 sclk cycle # sclk mosi 0 a 6 a 5 a 4 a 3 a 2 a 1 a 0 9 10 11 12 13 14 15 16 ncs miso d 6 d 5 d 4 d 3 d 2 d 1 d 0 d 7 t srad delay sclk miso d 0 t hold-miso t dly-miso figure 12. write operation figure 14. read operation pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
13 required timing between read and write commands there are minimum timing requirements between read and write commands on the serial port. sclk t sww write operation address data write operation address data timing between two write commands if the rising edge of the sclk for the last data bit of the second write command occurs before the required delay (t sww ), then the fi rst write command may not complete correctly. timing between write and read commands if the rising edge of sclk for the last address bit of the read command occurs before the required delay (t swr ), the write command may not complete correctly. sclk t swr write operation address data next read operation address ttt ttt sclk t srad read operation address next read or write operation address ttt ttt t srw & t srr data timing between read and subsequent write or read commands during a read operation sclk should be delayed at least t srad after the last address data bit to ensure that the adns- 3050 has time to prepare the requested data. the falling edge of sclk for the fi rst address bit of either the read or write command must be at least t srr or t srw after the last sclk rising edge of the last data bit of the previous read operation. figure 16. timing between two write commands figure 17. timing between write and read commands figure 18. timing between read and subsequent write or read commands pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
14 power up reset although ADNS-3050 does have an internal power up self reset circuitry, it is still highly recommended to follow the power up sequence below every time power is applied. i. apply power ii. drive ncs high, then low to reset the spi port iii. write 0x5a to register 0x3a iv. wait for at least tsww (or twakeup when performing reset to wake up from power down) v. write 0x20 to register 0x0d vi. write 0x00 to register 0x41 vii. confi gure the desired sensor settings accordingly reset ADNS-3050 can be reset by following power up reset se- quence. a full reset will thus be executed and any regis- ter settings must be reloaded. the table below shows the state of the various pins during reset. state of signal pins after vdd is valid pin during reset after reset ncs ignored functional miso low depends on ncs sclk ignored depends on ncs mosi ignored depends on ncs led high functional power down the ADNS-3050 can be set to power down mode by writ- ing 0xe7 to register 0x3b to disable the sensor. the spi port should not be accessed during power down. other ics on the same spi bus can be accessed, as long as the sensors ncs pin is not asserted. the table below shows the state of various pins during power down. to exit power down, reset the sensor in order to wake it up. a full reset will thus be executed. wait twakeup before accessing the spi port. any register settings must then be reloaded. pin during power down motion undefi ned ncs functional* mosi functional* sclk functional* miso undefi ned* *notes: ? ncs pin must be held to 1(high) if spi bus is shared with other devices, it can be in either state if the sensor is the only device t o connect to the host micro controller ? reading on register should only be performed after existing fr om the power down mode. any read operation during power do wn will not refl ect the actual data of the register. mode motion detection routine motion polling motion interrupt wired yes yes wireless not supported yes motion polling the micro-controller will poll the sensor for valid motion data by checking on the motion_st bit of motion_st register in a periodic cycle. if motion_st bit is set, mo- tion data in delta_x and delta_y registers are valid and ready to be read out by the micro-controller. motion polling sequence: 1. read motion_st bit of motion_st register. if motion_st bit = 1, go to step 2. 2. read delta_x and delta_y registers consecutively 3. optional: read prod_id register to check for communication link or sensor functionality. this product id verifi cation must be done only after reading motion_st, delta_x and delta_y registers. motion polling is recommended to be used in the corded application like usb gaming mouse that requires fast mo- tion response. this feature is not supported in wireless mode. motion interrupt motion output signal (pin 3) can be used as interrupt input to the micro-controller of the mouse triggering the read command of motion data from the sensor whenever there is motion detected by the sensor. the motion signal is active low level-triggered output. the motion pin level will be driven low as long the motion_st bit in register 0x02 is set and motion data in delta_x and delta_y reg- isters ready to be read out by the micro-controller. once all the motion data has been read, delta_x and delta_y values become zero, motion bit is reset and the motion pin level is driven high again. motion interrupt sequence: 1. when motion pin = low, read delta_x and delta_y registers consecutively. 2. optional: read prod_id register to check for communication link or sensor functionality. this product id verifi cation must be done only after reading motion_st, delta_x and delta_y registers. motion interrupt should be implemented in wireless application to lengthen battery life. it is very useful as the main control of power management to wake up mi- cro-controller and radio in the wireless system from rest modes. pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagin g inc. e-mail: fae_service@pixart.com.tw
15 low power management for wireless mode the ADNS-3050 has three power-saving modes: rest 1, rest 2 and rest 3 when wireless mode is enabled. each mode can be confi gured to a diff erent motion detection period, aff ecting response time to mouse motion (re- sponse time). the sensor automatically changes to the appropriate mode, depending on the time since the last reported motion (downshift time). the response time and downshift time for each mode are confi gurable via register addresses, 0x0e to 0x13. to enable wireless mode for low power management with optimized tracking performance, implement the follow- ing steps after sensor power up reset sequence. i. enable power-saving modes by setting f_awake bit = 0 in nav_ctrl2 register. ii. write 0x26 to register 0x35 iii. write 0x30 to register 0x14 iv. write 0x30 to register 0x18 v. write 0x01 to register 0x43 vi. write 0x01 to register 0x40 lift detection cutoff algorithm when the mouse is raised from the tracking surface which is also known as lifted condition, there is a specifi c z-height whereby the tracking of the sensor will cease. however the tracking cutoff height of the ADNS-3050 sensor varies with the diff erent tracking surfaces. in general to have a lower tracking cutoff height than the default settings, the algorithm illustrated in the form of a pseudo code is rec- ommended as z-height monitoring routine in the micro- controller fi rmware. example of pseudo code in c language: if (motion) { //read sensor motion data and pixel statistic ea = 0; shutter_hi = spi_read_sensor(adns3050_shut_hi_addr); shutter_lo= spi_read_sensor(adns3050_shut_lo_addr); squal = spi_read_sensor(adns3050_squal_addr); pixel_accum = spi_read_sensor(adns3050_pix_accum_addr); ea = 1; shutter = (double)shutter_hi*256+(double)shutter_lo; average_shutter = 1024*(double)pixel_accum/shutter; // lift detection monitoring if(average_shutter<440 && squal<55) { sys_deltax = 0; //motion data suppression sys_deltay = 0; //motion data suppression } } pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
16 registers the ADNS-3050 registers are accessible via the serial port. the registers are used to read motion data and status as well as to set the device confi guration. address register name register description read/write default value 0x00 prod_id product id r 0x09 0x01 rev_id revision id r 0x00 0x02 motion_st motion status r/w 0x00 0x03 delta_x delta_x r 0x00 0x04 delta_y delta_y r 0x00 0x05 squal squal quality r 0x00 0x06 shut_hi shutter open time (upper 8-bit) r 0x01 0x07 shut_lo shutter open time (lower 8-bit) r 0x00 0x08 pix_max maximum pixel value r 0x00 0x09 pix_accum average pixel value r/w 0x00 0x0a pix_min minimum pixel value r 0x00 0x0b pix_grab pixel grabber r/w 0x00 0x0d mouse_ctrl mouse control r/w 0x01 0x0e run_downshift downshift time from run to rest 1 r/w 0x46 0x0f rest1_period time period of rest 1 r/w 0x00 0x10 rest1_downshift downshift time from rest 1 to rest 2 r/w 0x4f 0x11 rest2_period time period of rest 2 r/w 0x09 0x12 rest2_downshift downshift time from rest 2 to rest 3 r/w 0x2f 0x13 rest3_period time period of rest 3 r/w 0 x31 0x1c shut_thr shutter threshold r/w 0x41 0x1d squal_threshold squal threshold r/w 0x3d 0x22 nav_ctrl2 led mode confi guration r/w 0x00 0x25 misc_settings dcr and wakeup settings register r/w 0x61 0x33 resolution full resolution register r/w 0x04 0x34 led_precharge led precharge time register r/w 0xa0 0x3a reset reset w 0x00 0x3b shutdown shutdown register w 0x00 0x3f not_rev_id inverted revision id r 0xff 0x45 rest_mode_config rest mode confi guration r/w 0x00 pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
17 prod_id address: 0x00 access: read reset value: 0x09 b i t76543210 field pid7 pid6 pid5 pid4 pid3 pid2 pid1 pid0 data type: 8-bit unsigned integer usage: this register contains a unique identi?cation assigned to the ADNS-3050. the value in this register does not change; it can be used to verify that the serial communications link is functional. if using this register to verify serial communications link during rest modes, please read following registers in this sequence: 0x00, 0x02, 0x03, 0x04, 0x00 (regardless of register 0x02s status). if both or either one of the read 0x00 value is correct, no additional action is required as the serial communication link is good. only if both read 0x00 value attempts are wrong, perform a reset operation to the sensor to restore the serial communications link. note: highly recommended to use motion pin function during rest modes for motion detection in wireless mode. rev_id address: 0x01 access: read reset value: 0x00 b i t76543210 field rid7 rid6 rid5 rid4 rid3 rid2 rid1 rid0 data type: 8-bit unsigned integer usage: this register contains the ic revision. it is subject to change when new ic versions are released. motion_st address: 0x02 access: read/write reset value: 0x00 b i t7 6543210 field motion_st rsvd rsvd rsvd rsvd rsvd rsvd rsvd data type: bit fi eld. usage: register 0x02 allows the user to determine if motion has occurred since the last time it was read. if the motion_st bit is set, then the user should read registers 0x03 (delta_x) and 0x04 (delta_y) to get the accumulated motion data. read this register before reading the delta_x and delta_y registers. writing any data into this register clears motion_st bit, delta_x and delta_y registers. however the written data byte will not be saved. bit field name description 7 motion_st motion detected since last report 0 = no motion (default) 1 = motion occurred, data in delta_x and delta_y registers ready to be read 6-0 rsvd reserved pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
18 delta_x address: 0x03 access: read reset value: 0x00 b i t76543210 field x7 x6 x5 x4 x3 x2 x1 x0 data type: eight bit 2s complement number. usage: x-axis movement in counts since last report. absolute value is determined by resolution. reading this register clears the content of this register. 00 01 02 7e 7f +127 +126 +1 +2 fffe 8180 0-1-2 -127 -128 motion delta_x delta_y address: 0x04 access: read reset value: 0x00 b i t76543210 field y7 y6 y5 y4 y3 y2 y1 y0 data type: eight bit 2s complement number. usage: y-axis movement in counts since last report. absolute value is determined by resolution. reading this register clears the content of this register. 00 01 02 7e 7f +127 +126 +1 +2 fffe 8180 0-1-2 -127 -128 motion delta_y pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
19 squal (white paper) 0 10 20 30 40 50 60 1 30 59 88 117 146 175 204 233 262 291 320 349 378 407 436 465 494 523 552 581 610 639 668 697 726 755 784 count squal value mean squal vs z (white paper) -10 0 10 20 30 40 50 60 1.6 1. 822 .22 .42 .62 . 833 .2 distance from lens reference plane to tracking surface - z (mm) squal count avg-3sigma avg avg+3sigma figure 21. mean squal vs. z (white paper) squal address: 0x05 access: read reset value: 0x00 b i t76543210 field sq7 sq6 sq5 sq4 sq3 sq2 sq1 sq0 data type: upper 8 bits of a 9-bit unsigned integer. usage: squal (surface quality) is a measure of the number of valid features visible by the sensor in the current frame. the maximum squal register value is 128. since small changes in the current frame can result in changes in squal, variations in squal when looking at a surface are expected. the graph below shows 800 sequentially acquired squal values, while a sensor was moved slowly over white paper. squal is nearly equal to zero, if there is no surface below the sensor. squal is typically maximized when the navigation surface is at the optimum distance from the imaging lens (the nominal z-height). figure 20. squal values (white paper) pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
20 figure 23. mean shutter vs. z (white paper). figure 22. shutter (white paper). shut_hi address: 0x06 access: read reset value: 0x01 b i t76543210 field s15 s14 s13 s12 s11 s10 s9 s8 shut_lo address: 0x07 access: read reset value: 0x00 b i t76543210 field s7 s6 s5 s4 s3 s2 s1 s0 data type: sixteen bit unsigned integer. usage: units are in clock cycles. read shut_hi fi rst, then shut_lo. they should be read consecutively. the shutter is adjusted to keep the average and maximum pixel values within normal operating ranges. the shutter value is automatically adjusted. shutter (white paper) 0 50 100 150 200 250 300 350 400 450 500 1 28 55 82 109 136 163 190 217 244 271 298 325 352 379 406 433 460 487 514 541 568 595 622 649 676 703 730 757 784 count shutter value mean shutter vs z (white paper) 0 50 100 150 200 250 300 350 400 450 500 550 600 1.6 1. 822 .22 .42 .62 . 833 .2 distance from lens reference plane to tracking surface - z (mm) shutter value avg-3sigma avg avg+3sigma pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imag i ng inc. e-mail: fae_service@pixart.com.tw
21 pix_max address: 0x08 access: read reset value: 0x00 b i t76543210 field mp7 mp6 mp5 mp4 mp3 mp2 mp1 mp0 data type: eight-bit number. usage: store the highest pixel value in current frame. minimum value = 0, maximum value = 254. the highest pixel value may vary with diff erent frame. pix_accum address: 0x09 access: read/write reset value: 0x00 b i t76543210 field ap7 ap6 ap5 ap4 ap3 ap2 ap1 ap0 data type: high 8-bits of an unsigned 17-bit integer. usage: this register stores the accumulated pixel value of the last image taken. this register can be used to fi nd the average pixel value, where average pixel = (register value ap[7:0])* 1.058 the maximum accumulated value is 122936 but only bits [16:9] are reported, therefore the maximum register value is 240. the minimum is 0. the pix_accum value may vary with diff erent frame. pix_min address: 0x0a access: read reset value: 0x00 b i t76543210 field mp7 mp6 mp5 mp4 mp3 mp2 mp1 mp0 data type: eight-bit number. usage: store the lowest pixel value in current frame. minimum value = 0, maximum value = 254. the minimum pixel value may vary with diff erent frame. pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
22 pix_grab address: 0x0b access: read/write reset value: 0x00 b i t76543210 field pg_valid pg6 pg5 pg4 pg3 pg2 pg1 pg0 data type: eight bit word. usage: the pixel grabber captures 1 pixel per frame. bit-7 (msb) of this register will be set to indicate that the 7-bit pixel data (pg[6:0]) is valid for grabbing. in a 19x19 pixel array, it will take 361 read operations to grab all the pixels to form the complete image. bit(s) field name description 7 pg_valid pixel grabber valid 6:0 pg[6:0] pixel data note: any write operation into this register will reset the grabber to origin (pixel 0 position). the sensor should not be moved before the 361 read operations are completed to ensure original data is grabbed to produce good (uncorrupted) image. 19 x 19 pixel array address map C (s urface reference view from top of mouse) 342 323 304 285 266 247 228 209 190 1711 52 133 11 495765738 190 first 343 324 305 286 267 248 229 2 10 1911 72 153 134 11 5 9677583920 1 344 325 306 287 268 249 230 2 11 1 92 173 154 135 11 6 977859402 1 2 345 326 307 288 269 250 23 1 212 193 174 155 136 11 79879604 1 22 3 346 327 308 289 270 25 1 232 2 13 194 175 156 137 11 899806 1 42 23 4 347 328 309 290 27 1 252 233 2 14 195 176 157 138 119 1 00 81 62 43 24 5 348 329 3 1 029 1 272 253 234 2 15 196 177 158 139 120 101 82 63 44 25 6 349 330 3 11 292 273 254 235 2 16 1 97 1 78 159 140 1211 02 83 64 45 26 7 350 33 1 31 2 293 274 255 236 217 198 179 160 1411 22 1 03 84 65 46 27 8 351 332 3 1 3 294 275 256 237 218 199 180 1611 42 123 1 04 85 66 47 28 9 352 333 3 1 4 295 276 257 238 21 9 200 1811 62 143 124 1 05 86 67 48 29 10 353 334 3 1 5 296 277 258 239 220 2011 82 163 144 125 1 06 87 68 49 30 11 354 335 3 1 6 297 278 259 240 221 202 183 164 145 1 26 1 07 88 69 50 3 11 2 355 336 3 1 7 298 279 260 241 222 203 184 165 146 127 1 08 89 70 51 32 13 356 337 3 1 8 299 280 261 242 223 204 185 166 147 128 1 09 90 71 52 33 14 357 338 3 1 9 300 281 262 243 224 205 186 167 148 129 1109 1 72 53 34 15 358 339 320 30 1 282 263 244 225 206 187 168 149 130 111 92 73 54 35 16 359 340 32 1 302 283 264 245 226 207 188 169 150 13 111 293745536 17 360 34 1 322 303 284 265 246 227 208 189 170 15 11 32 11 394755637 18 last +ve y +ve x top x-ray view of mouse pin 1 left button right button led 8 7 6 5 4 3 2 1 pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
23 mouse_ctrl address: 0x0d access: read/write reset value: 0x01 b i t7 6543210 field rsvd rsvd 1 res2 res1 res0 pd 0 data type: bit fi eld. usage: resolution and chip reset information can be accessed or to be edited by this register. bit field name description 5 1 must set to 1 4:2 res [2:0] set the resolution of sensor 000: 1000 dpi (default) 001: 250 dpi 010: 500 dpi 011: 1250 dpi 100: 1500 dpi 101: 1750 dpi 110: 2000 dpi 0 0 must set to 0 note: as the sensor resolution increases, slight performance degradation on certain surfaces may be observed. for higher than 500 dpi setting, use 12-bit motion reporting to achieve the maximum speed. run_downshift address: 0x0e access: read/write reset value: 0x46 b i t76543210 field rud7 rud6 rud5 rud4 rud3 rud2 rud1 rud0 data type: eight bit number. usage: this register sets the run to rest1 mode downshift time. the confi gurable value is range from 0x46 to 0xff . min value for this register must be 0x46 or 70 in decimal. units are 16 frames (about 430ms@2600fps) pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw
24 rest1_period address: 0x0f access: read/write reset value: 0x00 b i t76543210 field rip7 rip6 rip5 rip4 rip3 rip2 rip1 rip0 data type: eight bit number. usage: this register sets the rest1 time period in seconds. min value for this register is 0. max value is 0xfd. rest 1 period = (register value (decimal) +1) x 0.007 note: writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. to avoid this from happening, below commands should be incorporated prior and after the write command into this register. i. write 0x80 to register 0x22h prior to writing into this register ii. writing the desired value to this rest1_period register iii. write 0x00 to register 0x22h after to writing into this register rest1_downshift address: 0x10 access: read/write reset value: 0x4f b i t76543210 field r1d7 r1d6 r1d5 r1d4 r1d3 r1d2 r1d1 r1d0 data type: eight bit number. usage: this register sets the rest1 to rest2 mode downshift time. rest 1 downshift time = (register value (decimal) x (rest1 period) x 16. min value for this register is 0. rest2_period address: 0x11 access: read/write reset value: 0x09 b i t76543210 field r2p7 r2p6 r2p5 r2p4 r2p3 r2p2 r2p1 r2p0 data type: eight bit number. usage: this register sets the rest2 period in seconds. min value for this register is 0. max value is 0xfd. rest 2 period = (register value (decimal) +1) x 0.007 note: writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. to avoid this from happening, below commands should be incorporated prior and after the write command into this register. i. write 0x80 to register 0x22h prior to writing into this register ii. writing the desired value to this rest2_period register iii. write 0x00 to register 0x22h after to writing into this register pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
25 rest2_downshift address: 0x12 access: read/write reset value: 0x2f b i t76543210 field r2d7 r2d6 r2d5 r2d4 r2d3 r2d2 r2d1 r2d0 data type: eight bit number usage: this register sets the rest1 to rest2 mode downshift time. min value for this register is 0. rest 2 downshift time = (register value (decimal) x (rest2 period) x 128 rest3_period address: 0x13 access: read/write reset value: 0x31 b i t76543210 field r3p7 r3p6 r3p5 r3p4 r3p3 r3p2 r3p1 r3p0 data type: eight bit number. usage: this register sets the rest3 period in seconds. min value for this register is 0. max value is 0xfd. rest 3 period = (register value (decimal) +1) x 0.007 note: writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. to avoid this from happening, below commands should be incorporated prior and after the write command into this register. i. write 0x80 to register 0x22h prior to writing into this register ii. writing the desired value to this rest3_period register iii. write 0x00 to register 0x22h after to writing into this register preflash_run address: 0x14 access: read/write reset value: 0x80 b i t76543210 field preflash_ ctrl preflash_t preflash_t preflash_t preflash_t preflash_t preflash_t preflash_t data type: bit ?eld usage: this register usage is to turn on led to saturate sensor array before electronic shutter is open. bit field name description 7 preflash_ctrl 0: prefl ash control during idle state. 1: prefl ash control during processing state. 6:0 preflash_t preflash_t preflash_ctrl=1: prefl ash time = processing time - preflash_t*32*clk_period + idle time preflash_ctrl=0: prefl ash time = preflash_t*64*clk_period pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
26 preflash_run_dark address: 0x18 access: read/write reset value: 0x80 b i t76543210 field preflash_ ctrl_d preflash_ t_d preflash_ t_d preflash_ t_d preflash_ t_d preflash_ t_d preflash_ t_d preflash_ t_d data type: bit ?eld usage: this register usage is to turn on led to saturate sensor array before electronic shutter is open on dark surface. bit field name description 7 preflash_ctrl_d 0: prefl ash control during idle state. 1: prefl ash control during processing state. 6:0 preflash_t_d preflash_t_d preflash_ctrl=1: prefl ash time = processing time - preflash_t_d*32*clk_period + idle time preflash_ctrl=0: prefl ash time = preflash_t_d*64*clk_period [if preflash_t_d > processing time/32 (~110 counts), prefl ash time = idle time] motion_ext address: 0x1b access: read reset value: 0x00 bit 7 6 5 4 3 2 1 0 field mot_ext pg_valid pg_first del_y_ overflow del_x_ over flow rsvd rsvd rsvd data type: bit ?eld usage: this register is store the status of current motion that occurred. bit field name description 7 motion_ext 0: no motion default 1: motion occurred 6 pg_valid 1: pixel grabber valid 5 pg_first 1: pixel grabber first 4 delta y overfl ow 0: no overfl ow 1: delta y overfl ow 3 delta x overfl ow 0: no overfl ow 1: delta y overfl ow 2:0 reserved reserved pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
27 shut_thr address: 0x1c access: read/write reset value: 0x41 b i t7 6543210 field sht_thr sht_thr sht_thr sht_thr sht_thr sht_thr sht_thr sht_thr data type: bit ?eld usage: this register is used to confi gure the rest mode run downshift frame operation of the sensor with the shutter time. bit field name description 7:0 shut_thresh shutter threshold squal_threshold address: 0x1d access: read/write reset value: 0x3d b i t7 6543210 field st st st st st pt pt pt data type: bit ?eld usage: this register is used to confi gure the surface quality limit of the sensor. bit field name description 7:3 st minimum number of features to navigate 2:0 pt minimum size of feature to be usable. nav_ctrl2 address: 0x22 access: read/write reset value: 0x00 b i t7 6543210 field f_awake 0 0 rsvd rsvd rsvd rsvd rsvd data type: bit ?eld usage: this register is used to confi gure the rest mode operation of the sensor. bit field name description 7 f_awake enable/disable rest mode 0: enabled rest mode 1: disabled rest mode. (default) 6:5 0 must be set to 0 pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
28 misc_settings address: 0x25 access: read/write reset value: 0x61 b i t7 6543210 field msr rsvd rsvd rsvd msr ds ds ds data type: bit ?eld usage: this register is used to confi gure the dcr and wakeup settings register. bit field name description 7 reserved reserved 6:4 msr minimum number of feature to wakeup from rest unit in multiple of min_sq_run 3 reserved reserved 2:0 ds number of bits to shift off dcr (decorrelation if correlation threshold < auto correlation) resolution address: 0x33 access: read/write reset value: 0x04 b i t7 6543210 field rsvd rsvd rsvd res_en dpi dpi dpi dpi data type: bit ?eld usage: this register is used to confi gure the resolution of the sensor. bit field name description 7:5 reserved reserved 4 res_en 0: disable resolution setting 1: enable resolution setting 3:0 dpi 0x00: 4000dpi 0x01: 250dpi 0x02: 500dpi 0x03: 750dpi 0x04: 1000dpi 0x05: 1250dpi 0x06: 1500dpi 0x07: 1750dpi 0x08: 2000dpi pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw
29 led_precharge address: 0x34 access: read/write reset value: 0xa0 b i t7 6543210 field led_pre led_pre led_pre led_pre led_pre led_pre led_pre led_pre data type: bit ?eld usage: this register is used to confi gure the led precharge of the sensor. the default pre fl ash is about 190us for nominal clock of 26mhz~28mhz. bit field name description 7:0 led_precharge precharge time (in clock counts) = led_precharge" *32 + 30 frame_idle address: 0x35 access: read/write reset value: 0x00 b i t7 6543210 field frame_idle frame_idle frame_idle frame_idle frame_idle frame_idle frame_idle frame_idle data type: eight bit unsigned integer usage: this register is used to control the frame rate. the value in this register is used to add frame idling time, which eff ectively reduces the frame rate. frame_idle_time (in clock counts) = (register value) * 32 frame period (in clock counts) = shutter_time (reg 0x06 and reg 0x07) + (3400 clocks) + frame_idle_time when this register is set to 0x00, the maximum frame rate is about 6666 fps @26mhz internal clock frequency bit field name description 7:0 frame_idle frame idling time(in clock counts)=frame_idle*32 power_up_reset address: 0x3a access: write reset value: 0x00 b i t7 6543210 field reset reset reset reset reset reset reset reset data type: bit ?eld usage: this register is used to confi gure the resolution of the sensor. bit field name description 7:0 power_up_reset power up reset. 0x5a/0x5b for full reset. 0x96/0x97 for partial reset. address: 0x3b access: write reset value: 0x 00 b i t7 6543210 field sd sd sd sd sd sd sd sd data type: bit field usage: this register is used to shut down the sensor pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed o any other forms without permission. pixart imaging inc. e-mail: fae_service@pixart.com.tw bit field name description 7:0 shutdown chip shutdown write 0xe7 to power down sensor.
30 led_ctrl address: 0x40 access: read/write reset value: 0x00 bit 7 6 5 4 3 2 1 0 field rsvd rsvd rsvd rsvd led_cont_off led_cont_off led_sel led_sel data type: eight bit unsigned integer. usage: this register is used to control the led operating mode and current to optimization the power consumption. bit field name description 7:4 reserved reserved 3 led_cont_off 0: normal operation (default) 1: led continuous off 2 led_cont_on 0: normal operation (default) 1: led continuous on 1:0 led_sel 0x00: led current set to 20ma 0x01: led current set to 15ma 0x02: led current set to 36ma 0x03: led current set to 30ma note: if led operating in automatic current switching mode (auto_led_control [0] at address 0x43 is cleared, led current selling (led_control) [1:0]) will be ignored. only when auto current switching is disabled through setting auto_led_control [0], the led driver current is determine by led_control [1:0]. motion_ctrl address: 0x41 access: read/write reset value: 0x40 bit 7 6 5 4 3 2 1 0 field mot_act_hi mot_sens rsvd rsvd rsvd rsvd rsvd rsvd data type: eight bit unsigned integer. usage: this register is used to confi gure sensor motion control. bit field name description 7 motion_active_hi 0: motion active low (default) 1: motion active high 6 motion_sensitivity 0: motion pin is level sensitive 1: motion pin is edge sensitive(default) 5:0 reserved reserved pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imaging i nc. e-mail: fae_service@pixart.com.tw b i t7 6543210 field rrid7 rrid6 rrid5 rrid4 rrid3 rrid2 rrid1 rrid0 data type: eight bit unsigned integer usage: this register contains the inverse of the revision id which is located at register 0x01. inv_rev_id address: 0x3f access: read reset value: 0xff
auto_led_control address: 0x43 access: read/write reset value: 0x08 bit 7 6 5 4 3 2 1 0 field rsvd rsvd rsvd rsvd led_hi led_hi auto_led_ds auto_led_ds data type: bit ?eld usage: this is a smart led drive feature whereby the led current is self adjusting between the low and high current settings (bit 3:1) according to the brightness of the tracking surface if this feature is enable (via clearing bit 0). the brighter the surface, the lower the led current will be. if a_led_dis (bit 0) is set, this means auto_led mode is disable, then the led current determine by lsel[1:0] setting in led_ctrl register (0x40). bit field name description 7:4 reserved reserved 3:2 led_hi 0x0: auto led high current is 15ma 0x1: auto led high current is 20ma 0x2: auto led high current is 30ma 0x3: auto led high current is 36ma 1 led_lo 0x0: auto led low current is 15ma 0x1: auto led low current is 20ma 0 auto_led_dis 0x0: enable auto led current switching 0x1: disable auto led current switching note: when auto led is enable, the auto_led current will be switched between low and high current setting determined by led_lo and led_hi [1:0]. if led_lo current setting is higher than the led_hi, the current will be based on the higher setting. for example if the led_lo is 20ma and led_hi is 15ma, the autoled current will be fi xed at 20ma. rest_mode_config address: 0x45 access: read/write reset value: 0x00 b i t7 6543210 field rm1 rm0 rsvd rsvd rsvd rsvd rsvd rsvd data type: eight bit unsigned integer. usage: this register is used to set the operating mode of the ADNS-3050. bit(s) field name description 7:6 rm[1:0] sensor operating mode 0x00: normal (default) 0x01: rest 1 0x02: rest 2 0x03: rest 3 5:0 rsvd reserved read operation to rest_mode_config indicates which mode the sensor is in. write operation into this register will force the sensor into rest modes (rest 1, 2 or 3). write the value 0x40 into 0x45 register to force sensor into rest 1, 0x80 to rest 2 or 0xc0 to rest 3. to get out of any forced rest mode, write 0x00 into this register to set back to normal mode. pix a rt imaging inc. e^r??v???roo'u]vpk??]oe]p?]}v^v?}? all rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. pixart imagi ng inc. e-mail: fae_service@pixart.com.tw


▲Up To Search▲   

 
Price & Availability of ADNS-3050

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X